package com.xuecheng.api.content;

import com.xuecheng.api.content.model.qo.QueryCourseModel;

import com.xuecheng.api.content.model.vo.CourseAuditVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * @ClassName: CourseAuditApi
 * @Description: TODO
 * @author: 王亚军
 * @date: 2021/12/13  14:08
 */
@Api(value = "运营平台信息管理Api",tags = "运营平台信息管理Api")
public interface CourseAuditApi {


    @ApiOperation("分页条件查询课程基本信息")
    PageVO queryCourseAudit(PageRequestParams params, QueryCourseModel model);


    @ApiOperation("课程审核(提交的课程才可审核)")
    @ApiImplicitParam(name = "auditVO",
            value = "课程信息VO",
            required = true, dataType = "CourseAuditVO", paramType = "body")
    void approveCourse(CourseAuditVO auditVO);

}
